package com.chainyoung.component_tmtrade.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.CommonList;
import com.chainyoung.common.appcommon.entity.RecieveAccount;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmtrade.bean.FiatTradeListItem;
import com.chainyoung.component_tmtrade.bean.TradeResult;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface TradeFiatCurrencySubmitOrderContract {

    interface View extends IView {

        void onSubmitOrderSuccess(TradeResult result);

        void onGetRecieveAccount(List<RecieveAccount> data);

    }

    interface Model extends IModel {


        Flowable<TradeResult> submitFiatCurrencyOrder(TreeMap<String, Object> map);

        Flowable<List<RecieveAccount>> getRecieveAccount(TreeMap<String, Object> map);



    }



}
